package com.dingding.web.store.action;

import java.util.List;

import javax.annotation.Resource;

import com.dingding.common.core.beans.CouponStore;
import com.dingding.facde.store.service.IStoreService;
import com.dingding.web.base.action.BaseAction;

/**
 * @Description: 门店action
 * @author fengshuonan
 * @date 2016年3月30日 下午4:20:03
 */
@SuppressWarnings("serial")
public class StoreAction extends BaseAction{
	
	
	@Resource(name="storeService")
	private IStoreService storeService;  //门店服务接口
	
	/**
	 * @Description:获取门店列表
	 * @author fengshuonan
	 * @return String
	 */
	public String getCouponStoreList()
	{
		List<CouponStore> list = storeService.getCouponStoreList();
		
		String jsonp = super.getResJsonp(list);
		super.write(jsonp);
		
		return NONE;
	}
}
